package start.aai.mapper;

import start.aai.entity.Conversations;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author 27465
* @description 针对表【conversations】的数据库操作Mapper
* @createDate 2025-07-09 14:51:18
* @Entity start.aai.entity.Conversations
*/
public interface ConversationsMapper extends BaseMapper<Conversations> {

    Integer newConversation(Conversations conversations);

    List<Conversations> getHistory(Integer userId);
}




